SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52858: SAS® Studio 2.5 generates a fatal error when producing ODS Graphics output with non-Latin1 encoding

DetailsAboutRate It

SAS® Studio 2.5 generates the following error messages when producing ODS Graphics output with non-Latin1 encoding:

[Fatal Error] :144:112: Byte "197" is not a member of the (7-bit) ASCII character set.
Internal Exception:org.apache.xerces.impl.io.MalformedByteSequenceException:
Byte "197" is not a member of the (7-bit) ASCII character set.
org.apache.xerces.impl.io.MalformedByteSequenceException: Byte "197" is not a
member of the (7-bit) ASCII character set.

SAS Studio automatically initiates ODS Graphics and opens the HTML, PDF, and RTF destinations. When a procedure that produces graphics output, such as the REG or GLM procedure, is used with non-Latin1 encoding, an error is written to the SAS® log and the graph is not produced.

To circumvent this problem, do one of the following:

  • Close the ODS RTF destination by including the following statement before the procedure code:
    ods rtf (id=web) close;
    
    This results in no RTF output being generated. The PDF output is not accessible from the Results tab, but the PDF file is created as indicated in the SAS log.


  • Turn off ODS Graphics by including the following statement before the procedure code:
    ods graphics off;
    
    The error is no longer written to the SAS log, but no graphics output is produced.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web EditorApple Mobile Operating System2.53.19.4 TS1M0
Microsoft® Windows® for x642.53.19.4 TS1M0
Microsoft Windows 8 Enterprise x642.53.19.4 TS1M0
Microsoft Windows 8 Pro x642.53.19.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit2.53.19.4 TS1M0
Microsoft Windows 8.1 Enterprise x642.53.19.4 TS1M0
Microsoft Windows 8.1 Pro2.53.19.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit2.53.19.4 TS1M0
Microsoft Windows Server 2008 R22.53.19.4 TS1M0
Microsoft Windows Server 2008 for x642.53.19.4 TS1M0
Microsoft Windows Server 2012 Datacenter2.53.19.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter2.53.19.4 TS1M0
Microsoft Windows Server 2012 R2 Std2.53.19.4 TS1M0
Microsoft Windows Server 2012 Std2.53.19.4 TS1M0
Windows 7 Enterprise x642.53.19.4 TS1M0
Windows 7 Professional x642.53.19.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.